#version 330 core
layout (location = 0) in vec3 aPos;   // 位置变量的属性位置值为 0
layout (location = 1) in vec3 aColor; // 颜色变量的属性位置值为 1

uniform mat4 world;

void main()
{
    gl_Position = world * vec4(aPos, 1.0);

}
